home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 1
/
Nebula One.iso
/
Mail
/
pine3.92
/
pine
/
osdep
/
rename
< prev
next >
Wrap
Text File
|
1993-07-15
|
367b
|
17 lines
/*----------------------------------------------------------------------
Rename a file
Args: tmpfname -- Old name of file
fname -- New name of file
Result: File is renamed. Returns 0 on success, else -1 on error
and errno is valid.
----*/
rename_file(tmpfname, fname)
char *tmpfname, *fname;
{
return(rename(tmpfname, fname));
}